package com.aliang.shopping.model.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 审核信息表
 * @TableName check_info_list
 */
@TableName(value ="check_info_list")
@Data
public class CheckInfoList implements Serializable {
    /**
     * 订单Id
     */
    @TableField(value = "orders_id")
    private Long ordersId;

    /**
     * 用户Id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 1地址修改，2退款申请
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 数据Id，类型为1地址id,2为订单列表Id
     */
    @TableField(value = "data_id")
    private Long dataId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    /**
     * 状态
     */
    @TableField(value = "status")
    private Integer status;


    /**
     * 用户备注
     */
    @TableField(value = "user_des")
    private String userDes;

    /**
     * 商家备注
     */
    @TableField(value = "business_des")
    private String businessDes;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}